package com.ckh.springboot.vo;

import com.ckh.springboot.entity.User;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author ckh
 * @since 2022-04-04
 */
@Data
public class GetClassInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Description: a
     * 班级id
     * @author: luoCan
     */
    private Integer classId;
    /**
     * Description: a
     * 教师id
     * @author: luoCan
     */
    private Integer userId;


    /**
     * Description: a
     * 班级名称
     * @author: luoCan
     */
    private String name;

    /**
     * Description: a
     * 班级秘钥
     * @author: luoCan
     */
    private String classKey;

    /**
     * Description: a
     * 创建时间
     * @author: luoCan
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * Description: a
     * 发布打卡状态  0未发布  1已发布  每天凌晨刷新未发布
     * @author: luoCan
     */
    private Integer clockStatus;

    /**
     * Description: a
     * 发布打卡时间
     * @author: luoCan
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date clockTime;

    /**
     * Description: a
     * 学生信息数组
     * @author: luoCan
     */
    private List<User> userList;


}
